﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ICDA.Web.Helper;

namespace ICDA.Web.Models
{
    public class AdminViewModel
    {

        public DatetTimeHelper _dtHelper;
        public DatetTimeHelper dtHelper
        {
            get
            {
                if (_dtHelper == null)
                {
                    _dtHelper = new DatetTimeHelper(CurrentDateTime);
                }
                return _dtHelper;
            }
        }

        public List<LeaveModel> LeaveModel { get; set; }
        public List<UserModel> UserModel { get; set; }
        public List<ActivityViewModel> UserActivityModel { get; set; }
        public DateTime CurrentDateTime { get; set; }
        public string colorCode { get; set; }
        public Dictionary<string, List<string>> LeaveLayout { get; set; }
        public Dictionary<string, List<ActivityViewModel>> ActivityLayout { get; set; }
        public AdminViewModel()
        {
            LeaveLayout = new Dictionary<string, List<string>>();
            ActivityLayout = new Dictionary<string, List<ActivityViewModel>>();
        }
    }
}